package com.lms.logisticsmanagementsystem.mapper;

import com.lms.logisticsmanagementsystem.model.Staff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface StaffMapper {
    Integer addStaff(Staff staff);

    List<Staff> getStaffList();

    Staff getStaffInfoById(@Param("id") String id);

    Integer updateStaffInfoById(Staff staff);

    Integer delStaffInfoById(@Param("id") Integer id);
}
